package com.jt.tenant.dialog;

import android.app.Dialog;
import android.content.Context;
import android.view.ViewGroup;

import com.jt.tenant.R;
import com.jt.tenant.app.JTApplication;

/**
 * Created by Administrator on 2016/2/14.
 */
public class JTDialog extends Dialog {

    public JTDialog(Context context) {

        super(context, R.style.AppDialog);

    }

    @Override
    public void setContentView(int layoutResID) {

        super.setContentView(layoutResID);

        JTApplication.ScaleScreenHelper.loadView((ViewGroup) getWindow().getDecorView());

    }

}
